package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * 活动商品表
 * <p>
 * <p>
 * clh(ActiveGoods)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:01
 */
@Data
public class ActiveGoods extends Model<ActiveGoods> {

    private Integer id;
    //活动id
    private Integer activeId;
    //活动类型
    private String activeType;
    //商品id
    private Integer goodsId;
    //商品库存
    private Integer activeStock;
    //商家id
    private Integer merchantId;
    //活动价格
    private Double activePrice;
    //开始时间
    private Date startTime;
    //结束时间
    private Date endTime;
    //0未审核，1审核完成，2已关闭
    private String status;

    private String statusOne;

    private String statusTwo;

    private Integer createUserId;

    private Integer updateUserId;

    private String isDeleted;

    private Date createTime;

    private Date updateTime;

    private Integer version;

    private MerchantGoods goods;
}
